package org.example.dormsystem.service;

import org.example.dormsystem.pojo.Admin;
import org.example.dormsystem.pojo.ChangeRecord;

import java.util.List;

public interface AdminService {
    Admin findAdminByUsername(String username);

    boolean register(String username, String password);

    void passCheck(Integer changeRecordId);

    void noPassCheck(Integer changeRecordId);

    void submit(String message);

    List<ChangeRecord> getRecordInfo();
}
